home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v2.1 / Amiga Developer CD v2.1.iso / Contributions / Haage_&_Partner / Storm-Projects / NDKExamples1 / asl / reqtest.h < prev    next >
C/C++ Source or Header  |  1999-04-16  |  3KB  |  127 lines

  1. /*
  2. COPYRIGHT: Unless otherwise noted, all files are Copyright (c) 1992-1996
  3. Amiga International, Inc. All rights reserved.
  4.  
  5. DISCLAIMER: This software is provided "as is".  No representations or
  6. warranties are made with respect to the accuracy, reliability, performance,
  7. currentness, or operation of this software, and all use is at your own risk.
  8. Neither commodore nor the authors assume any responsibility or liability
  9. whatsoever with respect to your use of this software.
  10. */
  11.  
  12.  
  13. /****************************************************************************/
  14.  
  15.  
  16. #ifndef REQTEST_H
  17. #define REQTEST_H
  18.  
  19.  
  20. /****************************************************************************/
  21.  
  22.  
  23. #include <exec/types.h>
  24.  
  25.  
  26. /****************************************************************************/
  27.  
  28.  
  29. struct CommonData
  30. {
  31.     UWORD RefObject;
  32.     UWORD InitialLeftEdge;
  33.     UWORD InitialTopEdge;
  34.     UWORD InitialWidth;
  35.     UWORD InitialHeight;
  36.     char  TitleText[128];
  37.     char  PositiveText[128];
  38.     char  NegativeText[128];
  39.     char  FontName[32];
  40.     UWORD FontSize;
  41.     char  Locale[128];
  42.     BOOL  PrivateIDCMP;
  43.     BOOL  SleepWindow;
  44.     BOOL  IntuiMsgFunc;
  45.     BOOL  FilterFunc;
  46. };
  47.  
  48. struct FileReqData
  49. {
  50.     char InitialFile[128];
  51.     char InitialDrawer[128];
  52.     char InitialPattern[128];
  53.     char AcceptPattern[128];
  54.     char RejectPattern[128];
  55.     BOOL DoSaveMode;
  56.     BOOL DoMultiSelect;
  57.     BOOL DoPatterns;
  58.     BOOL DrawersOnly;
  59.     BOOL RejectIcons;
  60.     BOOL FilterDrawers;
  61. };
  62.  
  63. struct FontReqData
  64. {
  65.     char  InitialName[32];
  66.     UWORD InitialSize;
  67.     UBYTE InitialFrontPen;
  68.     UBYTE InitialBackPen;
  69.     UBYTE InitialDrawMode;
  70.     UBYTE InitialStyle;
  71.     BOOL  DoFrontPen;
  72.     BOOL  DoBackPen;
  73.     BOOL  DoDrawMode;
  74.     BOOL  DoStyle;
  75.     BOOL  FixedWidthOnly;
  76.     UWORD MinHeight;
  77.     UWORD MaxHeight;
  78.     UBYTE MaxFrontPen;
  79.     UBYTE MaxBackPen;
  80.     BOOL  FrontPens;
  81.     BOOL  BackPens;
  82.     BOOL  ModeList;
  83. };
  84.  
  85. struct ScreenModeReqData
  86. {
  87.     ULONG InitialDisplayID;
  88.     UWORD InitialDisplayWidth;
  89.     UWORD InitialDisplayHeight;
  90.     UWORD InitialDisplayDepth;
  91.     UWORD InitialOverscanType;
  92.     UWORD InitialInfoLeftEdge;
  93.     UWORD InitialInfoTopEdge;
  94.     BOOL  InitialInfoOpened;
  95.     BOOL  InitialAutoScroll;
  96.     BOOL  DoWidth;
  97.     BOOL  DoHeight;
  98.     BOOL  DoDepth;
  99.     BOOL  DoOverscanType;
  100.     BOOL  DoAutoScroll;
  101.     BOOL  CustomSMList;
  102.     ULONG PropertyFlags;
  103.     ULONG PropertyMask;
  104.     UWORD MinWidth;
  105.     UWORD MaxWidth;
  106.     UWORD MinHeight;
  107.     UWORD MaxHeight;
  108.     UWORD MinDepth;
  109.     UWORD MaxDepth;
  110. };
  111.  
  112.  
  113. /*****************************************************************************/
  114.  
  115.  
  116. VOID TestRequester(struct CommonData *cd,
  117.                    struct FileReqData *frd,
  118.                    struct FontReqData *fod,
  119.                    struct ScreenModeReqData *smrd,
  120.                    ULONG requesterType);
  121.  
  122.  
  123. /****************************************************************************/
  124.  
  125.  
  126. #endif /* REQTEST_H */
  127.